/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.doeacc.tms.service.dao;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import edu.doeacc.tms.domain.Truck;

/**
 * 
 * @author Niraj
 */
@Stateless
public class TruckFacade extends AbstractFacade<Truck> {

	@PersistenceContext(unitName = "tms_pu")
	private EntityManager em;

	protected EntityManager getEntityManager() {
		return em;
	}

	public TruckFacade() {
		super(Truck.class);
	}

}